<?php
/**
 * Created by PhpStorm.
 * User: 沁塵
 * Date: 2019/4/20
 * Time: 19:58
 */

namespace app\api\model;
use app\api\model\Account;

class JdEvent extends BaseModel
{
    protected $table = 'jd_event';

    protected $deleteTime = 'delete_time';
    protected $autoWriteTimestamp = 'datetime';

    public function ac()
    {
        return $this->hasOne(Account::class, "app_id", "account")->field("app_id, sound_model");
    }

}